From 7f85068218ef698e174b17ac9630540083b8d0e1 Mon Sep 17 00:00:00 2001 From: robertl Date: Mon, 7 Sep 2009 18:47:55 +0000 Subject: [PATCH] Let 'about' version track main GPSBabel version. --- gpsbabel/gui/mainwindow.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gpsbabel/gui/mainwindow.cpp b/gpsbabel/gui/mainwindow.cpp index c54d110f7..87a2a4631 100644 --- a/gpsbabel/gui/mainwindow.cpp +++ b/gpsbabel/gui/mainwindow.cpp @@ -1,5 +1,5 @@ // -*- C++ -*- -// $Id: mainwindow.cpp,v 1.7 2009-09-02 19:05:27 robertl Exp $ +// $Id: mainwindow.cpp,v 1.8 2009-09-07 18:47:55 robertl Exp $ //------------------------------------------------------------------------ // // Copyright (C) 2009 S. Khai Mong . @@ -38,6 +38,7 @@ #include "formatload.h" #include "gmapdlg.h" #include "upgrade.h" +#include "../gbversion.h" const int BabelData::noType = -1; const int BabelData::fileType = 0; @@ -900,7 +901,7 @@ void MainWindow::moreOptionButtonClicked() //------------------------------------------------------------------------ void MainWindow::aboutActionX() { - AboutDlg aboutDlg(0, babelVersion, QString(appName) + " Version 0.11"); + AboutDlg aboutDlg(0, babelVersion, QString(appName) + QString(" " VERSION)); aboutDlg.setWindowTitle(tr("About %1").arg(appName)); aboutDlg.exec(); } -- 2.30.2